/*
1. Write the code that declares a class called Employee with these data members: 
age, yearsOfService, and Salary.


2. Rewrite the Employee class to make the data members private, and provide public 
accessor methods to get and set each of the data members.


*/

class Employee {
	public:
		int GetAge() const { return age; }
		int GetYearsOfService() const { return yearsOfService; }
		int GetSalary() const { return Salary; }
		void SetAge(int NewAge) { age = NewAge; }
		void SetYearsOfService(int NewYearsOfService) { yearsOfService = NewYearsOfService; }
		void SetSalary(int NewSalary) { Salary = NewSalary; }
	private:
		int age;
		int yearsOfService;
		int Salary;
};
